Output to PDF file creates a PDF version of the completed template and makes it available on the server webpage. Detailed parameters are explained below. |
Main |
Main screen for this action | ||||||||||
*Description |
A descriptive text to identify this action |
||||||||||
*Output directory | Enter the folder name relative to the root output directory of your system as defined in the configuration file. Typically this folder will be named according to the files to be stored here, for instance ‘XML files’, 'CSV files' or 'PDF files', and each form will be saved under a date and time stamp in this folder. For more information see the document . Report processing variables can be very useful here as magic5 outputs the PDF with a GUID filename which is meaningless to a human reader (like photo names on a camera). Therefore the name of the output directory is important, for example for a main folder and, maybe, for a subfolder. Clever use of unique names in naming a directory can make documents even easier to find. For example, a field with a unique name of PASSFAIL could be used in a directory name as %@PASSFAIL% to sort forms into the correct folder. |
||||||||||
|
|||||||||||
Post-action processing (advanced) |
After an action has finished running a file can be executed on the server. This could be, for instance, a .exe or a .bat file. Typically this would be used to insert data into another system. |
||||||||||
File name to run | Enter the full path and filename here. Ensure that it is correctly spelt and that the file extension (such as .exe or .bat) is also correct. | ||||||||||
Command line to run | If the file specified above requires additional information on its command line, please enter it here. Contact your magic5 expert for further help. | ||||||||||
Folder to run from | Enter the full path and folder name that the executable programme needs to be launched from. | ||||||||||
URL | Instead of running an executable file locally, an http request can be sent to the URL specified here. It can contain standard variables. | ||||||||||
HTTP verb | Choose the http verb to be sent with the request to the URL specified above. If you do not know what this is, ask your magic5 expert. | ||||||||||
HTTP request body | This will be very different in different circumstances and probably needs to defined at the implementation stage. It can contain standard variables and may contain the data entered on the form. |